home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 28 / develop issue 28 code / merge tools / merge tools available < prev    next >
Encoding:
Text File  |  1996-06-12  |  2.6 KB  |  57 lines

  1. I have made available the "Eclectus Merge Utilities" on my ftp site:
  2. ftp://ftp.dnai.com/users/aharper. I hope I have supplied them in a
  3. usable format--please let me know if you have any problem accessing them.
  4.  
  5. These tools consist of three tools:
  6.  
  7. Merge Difference Undifference
  8.  
  9. Difference and Undifference are useful for maintaining differences between
  10. versions of a project (I use them to archive my changes each day after editing
  11. files).
  12.  
  13. Merge is useful for merging changes from many sources in one project.
  14.  
  15. Our "Source Code Control System" is to have two or more programmers making
  16. simultaneous changes in a project. Every so often we beam all the difference
  17. files to one computer where we use Merge to integrate the sources. After all
  18. collisions are dealt with and the new version is tested, we then send out
  19. difference files so each programmer can make a new base and continue work.
  20.  
  21. These files produce MPW Tools on the Macintosh. Make files are also supplied for
  22. building the tools on NeXT and Windows/NT computers.
  23.  
  24. The vast majority of code was derived with little or no modification from GNU
  25. diff.  GNU diff was written by Mike Haertel, David Hayes, Richard Stallman, Len
  26. Tower and Paul Eggert.  The basic algorithm is described in: "An O(ND) Difference
  27. Algorithm and its Variations", Eugene Myers, Algorithmica Vol. 1 No. 2, 1986, p
  28. 251.
  29.  
  30. usage: Difference SourcePath DestinationPath >DifferenceScriptFile
  31.  
  32. Produces on stdout a file that stores the changes in the files in the tree
  33. DestinationPath that are not in SourcePath.  This is useful for backups, storing
  34. smaller copies of modified file trees and beaming changes in file trees through a
  35. slow wire.
  36.  
  37. usage: Undifference SourcePath DifferenceScriptFile DestinationPath
  38.  
  39. Recreates DestinationPath out of DifferenceScriptFile and SourcePath.
  40.  
  41. usage: Merge [-c] rootPath modification1Path [modification2Path] ...
  42. destinationPath -c shows all changes even if no collisions occur
  43.  
  44. Merges all changes in the files contained in modification1Path
  45. [modification2Path] ... that have been made to rootPath into the new path
  46. destinationPath.  Changes are automatically merged.  If a collision occurs (e.g.
  47. two or more people change the same lines) all choices are listed in the merged
  48. file and the merged file is renamed by prepending a "!" to it.  If you add "-c"
  49. all changes are listed as collisions, which may be useful if you want to review
  50. all the changes.  We haven't used -c much.
  51.  
  52.  
  53. ---------------------------------------------------
  54. Alan Harper                11 Embarcadero West, Suite 120
  55. aharper@dnai.com           Oakland, CA 94607
  56.                            510/444-6605
  57.